package com.lin.carbon;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//重点
//1：@MapperScan("com.hzj.carbon.mapper")扫描数据层接口的包
@SpringBootApplication
@MapperScan("com.lin.carbon.mapper")

public class CarbonApplication {

    public static void main(String[] args) {
        SpringApplication.run(CarbonApplication.class, args);
        System.out.println("启动成功");

    }

}